package com.xdf.zipperdye.model;

import java.io.Serializable;
import java.util.Date;

public class SysPermission implements Serializable {
    private Integer iid;

    private String permissionid;

    private Boolean need;

    private String url;

    private String type;

    private String http_method;

    private String object_sid;

    private String permissionname;

    private Date create_time;

    private String module_sid;

    private Integer object_iid;

    private static final long serialVersionUID = 1L;

    public Integer getIid() {
        return iid;
    }

    public void setIid(Integer iid) {
        this.iid = iid;
    }

    public String getPermissionid() {
        return permissionid;
    }

    public void setPermissionid(String permissionid) {
        this.permissionid = permissionid == null ? null : permissionid.trim();
    }

    public Boolean getNeed() {
        return need;
    }

    public void setNeed(Boolean need) {
        this.need = need;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getHttp_method() {
        return http_method;
    }

    public void setHttp_method(String http_method) {
        this.http_method = http_method == null ? null : http_method.trim();
    }

    public String getObject_sid() {
        return object_sid;
    }

    public void setObject_sid(String object_sid) {
        this.object_sid = object_sid == null ? null : object_sid.trim();
    }

    public String getPermissionname() {
        return permissionname;
    }

    public void setPermissionname(String permissionname) {
        this.permissionname = permissionname == null ? null : permissionname.trim();
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public String getModule_sid() {
        return module_sid;
    }

    public void setModule_sid(String module_sid) {
        this.module_sid = module_sid == null ? null : module_sid.trim();
    }

    public Integer getObject_iid() {
        return object_iid;
    }

    public void setObject_iid(Integer object_iid) {
        this.object_iid = object_iid;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", iid=").append(iid);
        sb.append(", permissionid=").append(permissionid);
        sb.append(", need=").append(need);
        sb.append(", url=").append(url);
        sb.append(", type=").append(type);
        sb.append(", http_method=").append(http_method);
        sb.append(", object_sid=").append(object_sid);
        sb.append(", permissionname=").append(permissionname);
        sb.append(", create_time=").append(create_time);
        sb.append(", module_sid=").append(module_sid);
        sb.append(", object_iid=").append(object_iid);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}